7bf73ecb2094e0ccf3cb0b849bfb059132f66bf2,src/frontend/org/voltdb/planner/PlanAssembler.java,PlanAssembler,handleLimitOperator,#AbstractPlanNode#,1007

Before Change


            sendNode.addAndLinkChild(distLimit);
        }

        topLimit.addAndLinkChild(root);
        topLimit.generateOutputSchema(m_catalogDb);
        return topLimit;
    }

    AbstractPlanNode handleAggregationOperators(AbstractPlanNode root) {

After Change


            projectionNode.addAndLinkChild(topLimit);
            return projectionNode;
        } else {
            topLimit.addAndLinkChild(root);
            topLimit.generateOutputSchema(m_catalogDb);
            return topLimit;
        }
    }